<div class="post">
  <h2 id="<%= entry.id %>"><%= link_to h(entry.title), {:action => "show", :id => entry.id} %></h2>
  <div class="postinfo">
    <ul>
      <li class="author">by <%= @blog.user.name %></li>
      <li class="date">on <%= entry.created_at.to_s(:long) %></li>
      <li class="category-info"><%= link_to "#{entry.category.name}(#{entry.category.entries_count})", {:action => "category", :id => entry.category.id} %></li>
      <li class="comment-number"><%= link_to "#{entry.comments.count} Comments", {:action => :show, :id => entry.id, :anchor => "comments"} %></li>
      <li class="edit-info"></li>
    </ul>
  </div>
  
  
  <div class="entry">
    <p><%= entry.content %></p>
  </div>
</div>


